package day16.FanSe.FS02;

public class Student {
    private String name;
    private int age;
    private Student(String name){
        System.out.println("name的值为"+name);
        System.out.println("private...Student...的有参构造方法");
    }

    public Student() {
        System.out.println("private...Student...的无参构造方法");
    }

    public Student(String name, int age) {
        System.out.println("name的值为"+name+"age的值为"+age);
        System.out.println("public...Student...的有参构造方法");
    }
}
